sunxi: Add reg property for USB OTG node in sun8i-a83t.dtsi
authorChen-Yu Tsai <[email protected]>
Mon, 5 Feb 2018 14:03:25 +0000 (22:03 +0800)
committerJagan Teki <[email protected]>
Tue, 13 Mar 2018 14:33:45 +0000 (20:03 +0530)
When the OTG node was added, its reg property for its address space was
missing. With commit f4f9896ac310 ("musb: sunxi: Use base address from
device tree"), the OTG controller's address is derived from the device
tree exclusively. The missing property results in U-boot crashing when
MUSB is initialized.

Fixes: b0bea6678981 ("sunxi: Add USB and R_PIO nodes to sun8i-a83t.dtsi")
Signed-off-by: Chen-Yu Tsai <[email protected]>
Acked-by: Maxime Ripard <[email protected]>
Reviewed-by: Jagan Teki <[email protected]>
Tested-by: Jagan Teki <[email protected]>
arch/arm/dts/sun8i-a83t.dtsi

index 0fe73e173f4410e8c0d9dee994ccfb9ac57fce2c..bab6c1812b8aa6af05574745bcbe8bf1e2b7f4a4 100644 (file)
 
                usb_otg: usb@01c19000 {
                        compatible = "allwinner,sun8i-a33-musb";
+                       reg = <0x01c19000 0x400>;
                        interrupts = <GIC_SPI 71 IRQ_TYPE_LEVEL_HIGH>;
                        interrupt-names = "mc";
                        status = "disabled";